<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><#if op??><#if op="view">查看<#elseif op="edit">修改</#if><#else>新增</#if>首页楼层</title>
	<link href="/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div class="place">
    	<span>位置：</span>
	    <ul class="placeul"><li><a href="/index.html">首页</a></li><li><#if op??><#if op="view">查看<#elseif op="edit">修改</#if><#else>新增</#if>首页楼层</li></ul>
    </div>
    <br><br>
	<form action="/sys/floor/save.html" method="post">
		<input name="id" type="hidden" value="${(floor.id)!""}">
	    <ul class="forminfo">
		    <li>
		    	<label>楼层标题：</label>
		    	<input name="title" type="text" class="scinput input-lg" value="${(floor.title)!""}" <#if op?? && op="view">disabled=true</#if> autocomplete="off" />
		    	<i><font class="font-red">*</font></i>
		    </li>
		    <li>
		    	<label>楼层状态：</label>
            	<select class="select3" name="status" style="width: 100px;" <#if op?? && op="view">disabled=true</#if>>
				    <option value="">选择状态</option>
				    <option value=1 <#if (floor.status)?? && (floor.status)!1?number ==1>selected="selected"</#if>>开启</option>
				    <option value=2 <#if (floor.status)?? && (floor.status)?number ==2>selected="selected"</#if>>关闭</option>
			    </select>
		    	<i><font class="font-red">*</font></i>
		    </li>
		    <li>
		    	<label> 显示顺序：</label>
		    	<input name="displayOrder" type="text" class="scinput input-lg" value="${(floor.displayOrder)!""}" <#if op?? && op="view">disabled=true</#if> autocomplete="off" />
		    	<i><font class="font-red">*</font>从大到小倒序排</i>
		    </li>
		    <li>
		    	<label>备&emsp;&emsp;注：</label>
		    	<input name="description" type="text" class="scinput input-lg" value="${(floor.description)!""}" <#if op?? && op="view">disabled=true</#if> autocomplete="off" />
		    	<i><font class="font-red">*</font>200个字符以内</i>
		    </li>
		    <li>
		    	<label>楼层摘要：</label>
		    	<input name="summary" type="text" class="scinput input-lg" value="${(floor.summary)!""}" <#if op?? && op="view">disabled=true</#if> autocomplete="off" />
		    	<i><font class="font-red">*</font></i>
		    </li>
		    <li>
		    	<label>链接地址：</label>
		    	<input name="url" type="text" class="scinput input-lg" value="${(floor.url)!""}" <#if op?? && op="view">disabled=true</#if> autocomplete="off" />
		    	<i>为空则无点击跳转事件</i>
		    </li>
		    <li>
		    	<label>&nbsp;</label>
		    	<#if !op?? || op!="view">
		    	<input id="submitBtn" type="button" class="btn" value="提交"/>&emsp;
		    	</#if>
		    	<input id="cancelBtn" type="button" class="btn" value="返回"/>
		    </li>
	    </ul>
	</form>
</body>
<script type="text/javascript" src="/js/jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="/js/commonAdd.js"></script>
</html>